package cn.zwx.activiti.example.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @projectName:activiti-example
 * @see:cn.zwx.activiti.example.model.req
 * @author:zhangwenxue
 * @createTime:2021/5/29 17:39
 * @version:1.0
 */
@Data
@ApiModel("查询可用的流程定义请求参数")
public class ProcessDefinitionsForListReq {

    /**
     * @description 每页展示条数
     **/
    @ApiModelProperty(value = "每页展示条数",required = true)
    @NotNull(message = "每页展示条数不能为空")
    private Integer pageSize;

   /**
    * @description 当前页数
    **/
   @ApiModelProperty(value = "当前页数",required = true)
   @NotNull(message = "当前页数不能为空")
    private Integer pageNum;

    /**
     * @description 流程定义key
     **/
    @ApiModelProperty(value = "流程定义key")
    private String processKey;


}
